package com.zy.design.pattern.observer.syn;

import com.zy.design.pattern.observer.face.Message;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author zhaoyi
 * @date 2021/4/25 14:16
 */
@AllArgsConstructor
@Data
public class LoginMessage implements Message {
    private String message;
    private Integer id;

    @Override
    public int getId() {
        return id;
    }
}
